/**
 * Copyright (c) 2014-2015 ENZO 熊强强  (xqenzo@163.com).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 	
 */

package cn.edu.xyc.util;


/**
 * <p>
 * Title: VirtualPath.java
 * </p>
 * <p>
 * Description: 用于加载VirtualPath.properties 里面对应的虚拟路径和服务器的路径
 * </p>
 * <p>
 * Copyright: Copyright (c) 2015
 * </p>
 * 
 * @author ENZO E-mail:xqenzo@163.com
 * @date 创建时间：2015年10月17日 下午9:23:36
 * @version 1.0
 */
public class VirtualPath {
    
//    /**
//     * 虚拟路径 例如：localhost/webname/VirtualPath
//     */
//    public static final String  VIRTUALPATH = "VirtualPath";
//    /**
//     * 所保存的路径
//     */
//    public static final String  REALPATH = "RealPath";
//    private static InputStream resourceAsStream;
//
//    public static  Properties getproperties() {
//	Properties p = new Properties();
//	ClassLoader cl = Bootstrap.class.getClassLoader();
//	if (cl != null) {
//	    resourceAsStream = VirtualPath.class.getClassLoader().getResourceAsStream("VirtualPath.properties");
//
//	} else {
//	    resourceAsStream = ClassLoader
//		    .getSystemResourceAsStream("VirtualPath.properties");
//	}
//	try {
//	    p.load(resourceAsStream);
//	} catch (IOException e) {
//	    e.printStackTrace();
//	}
//	return p;
//
//    }
}
